/**
 * lilang
 * BulletinService.java
 * 2013-10-13下午5:36:45
 */
package com.cq.oa.service.pof;

import java.util.Map;

import oa.base.service.BaseService;
import oa.base.util.Page;

import com.cq.oa.domain.dto.BulletinDto;
import com.cq.oa.domain.pof.Bulletin;

/**
 * @author lilang
 *
 */
public interface BulletinService extends BaseService<Bulletin>{

	
	/**
	 * 新增公告
	 * @param bulletin
	 * @param objectIds
	 * @param cnames
	 * @return
	 * lilang 
	 * 2013-10-13下午5:49:21
	 */
	public Long doInsertNews(BulletinDto dto);
	/**
	 * 修改公告
	 * @param dto
	 * lilang 
	 * 2013-10-14上午9:08:32
	 */
	public void updateNews(BulletinDto dto);
	
	/**
	 * 查询公告
	 * @param dto
	 * lilang 
	 * 2013-10-14上午9:08:32
	 */
	public BulletinDto findByBulletin(Long sid);
	
	/**
	 * 查看公告
	 * @param dto
	 * lilang 
	 * 2013-10-14上午9:08:32
	 */
	public BulletinDto doViewBulletin(Long sid);
	
	
	public Page<Bulletin> findPageByParams(Map<String,Object> filter,int pageNo,int pageSize);
	
}
